package co.edu.unal.model;

import java.awt.Graphics;
import java.awt.Rectangle;

public class Elipse extends ObjetoCerrado {
	public Elipse(int x, int y, int w, int h) {

		super(x, y, w, h, false);
	}

	public void paint(Graphics g) {
		g.setColor(getColor());
		Rectangle r = getBounds();
		g.drawOval(r.x, r.y, r.width, r.height);

	}
}
